package com.example.hydropowermanage.pojo;

import java.util.Date;

public class Message {
    private int msgId;
    private String sender;
    private String receiver;
    private String content;
    private  String status;
    private Date send_time;

    public Message() {
    }

    public int getMsgId() {
        return msgId;
    }

    public void setMsgId(int msgId) {
        this.msgId = msgId;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) { this.sender = sender;}

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getMsgContent() {
        return content;
    }

    public void setMsgContent(String msgContent) {
        this.content = msgContent;
    }

    public String getStatus() {
        return status;
    }

    public void setRead(String read) {
        status = read;
    }

    public Date getSendTime() {
        return send_time;
    }

    public void setSendTime(Date sendTime) {
        this.send_time = sendTime;
    }
}
